package com.wtwd.device.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wtwd.device.model.entity.Medal;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zdl
 * @since 2022-04-11
 */
public interface WebMedalService {

    List<Medal> getMedalByType(Integer type);

    IPage queryMedalPageByCondition(Medal searchMap, Page<Medal> page);

    Integer addMedal(Medal medal);

    Integer deleteMedalById(Long medalId);
}
